package com.emmmya.module.excel.pojo;

import com.emmmya.harinCheck.annotation.Check;

import java.io.Serializable;

/**
 * @author harin
 * @version 1.0
 * @date 2022-05-06 09:06:04
 */
public class TitleCell implements Serializable {
    @Check(name="id")
    private Integer id;

    @Check(name="所在标题行id",required = true)
    private Integer titleRowId;

    @Check(name="标题名",required = true)
    private String titleName;

    @Check(name="所在的列号",required = true)
    private Integer cellNum;

    public TitleCell() {
    }

    public TitleCell(Integer titleRowId, String titleName, Integer cellNum) {
        this.titleRowId = titleRowId;
        this.titleName = titleName;
        this.cellNum = cellNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTitleRowId() {
        return titleRowId;
    }

    public void setTitleRowId(Integer titleRowId) {
        this.titleRowId = titleRowId;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public Integer getCellNum() {
        return cellNum;
    }

    public void setCellNum(Integer cellNum) {
        this.cellNum = cellNum;
    }
}
